package com.jic.member.service;

import com.jic.common.base.vo.Page;
import com.jic.common.base.vo.PageResult;
import com.jic.common.base.vo.RestResult;
import com.jic.member.entity.DisCashLog;
import com.jic.member.request.DisCashLogRequest;
import com.jic.member.request.DisCashLogSaveRequest;

import java.math.BigDecimal;
import java.util.List;

/**
* 提现申请,充值申请表
* @author : 
* @email : 
* @since : 2020-10-03 12:05:00
* @version : v1.0.0
*/
public interface DisCashLogService {

    long insert(DisCashLog disCashLog);

    long delete(Long id);

    long update(DisCashLog disCashLog);

    DisCashLog queryByPrimaryKey(Long id);

    List<DisCashLog> query(DisCashLog disCashLog);

    PageResult<DisCashLog> queryPage(DisCashLog disCashLog, Page pageQuery);

    BigDecimal getWithdrawalCount(DisCashLog disCashLog);

    RestResult reviewStatusByDisCashLog(DisCashLogRequest form);

    RestResult saveDisCashLog(DisCashLogSaveRequest request);


}